
#if flash
package hxs.events.flash.media;
import flash.events.ActivityEvent;
import flash.events.StatusEvent;
import flash.media.Microphone;
import hxs.extras.FlashEventsBase;
import hxs.extras.FlashEventsStore;
import hxs.extras.FlashSignal;
/**
 * ...
 * @author Tony Polinelli
 */
import flash.display.DisplayObject;
import flash.events.Event;

class MicrophoneEvents extends FlashEventsBase
{
	public function new(target:Microphone) 
	{
		super(target);
	}
	
	public static function getEvents(target:Microphone):MicrophoneEvents
	{
		return cast FlashEventsStore.getEvents(target);
	}
	
	/**/
	
	public var activity(getActivity, never):FlashSignal<ActivityEvent>;
	private function getActivity():FlashSignal<ActivityEvent>
	{
		return cast getNativeSignal(ActivityEvent.ACTIVITY);
	}
	
	public var status(getStatus, never):FlashSignal<StatusEvent>;
	private function getStatus():FlashSignal<StatusEvent>
	{
		return cast getNativeSignal(StatusEvent.STATUS);
	}
	
}
#end